<template>
        <view class="empty_box" v-else>
            <image class="empty_img" :src="img_url+'static/img/empty_order.png'" />
            <view class="empty_text" v-show="text_show">暂时没有数据</view>
        </view>
</template>

<script>
    export default {
        name: "m-noData",
        props:{
            text_show:Boolean,
            default:true
        },
        data() {
            return {
                img_url:this.$mConfig.assetsPath
            }
        },
        mounted() {

        },
        methods: {

        }

    }
</script>
<style lang="less" scoped>
    .empty_img{
        width: 520rpx;
        height: 360rpx;
        margin-top: 200rpx;
    }
    .empty_text{
        color: #333333;
        font-size: 26rpx;
        margin-top: 20rpx;
    }
    .empty_box{
        text-align: center;
    }


</style>
